var vue = new Vue({
    el:"#app",
    data:{
        users:[
            ],
        totalView:200,
        todayView:20
    },
    methods:{

    },
    filters:{

    },
    mounted:function () {
        var ownerId=getParams().ownerId;
        ajaxGet("/index/travel",{ownerId:ownerId}, function (data) {
           var map= data.data;
           vue.totalView=map.totalView;
           vue.todayView=map.todayView;
       })
        ajaxGet("/index/queryTop8",{ownerId:ownerId}, function (data) {
           vue.users=data.data;
       })
    }
});

